#include <cstdio>
#include <cstring>
#include <cmath>
#include <algorithm>
using namespace std;

double a, b;

int main(int argc, char const *argv[])
{
	freopen("init.in", "r", stdin);
	scanf("%lf%lf", &a, &b);
	a += b / 10;
	printf("%d\n", (int)(floor(a / 1.9)));
	return 0;
}
